How are you supposed to define a mapping with peak.model? I'm looking for something that would be used like this, in theory: from peak.api import * class MyElement(model.Element): class elementToStringMapping(model.Mapping): referencedKeyType = 'MyElement' referencedType = model.String