@classmethod
def register_type_replacement(cls, object_type, replacement_function):
    raise NotImplementedError('implement in subclass')
@classmethod
def register_type_replacement(cls, object_type, replacement_function):
    raise NotImplementedError('implement in subclass')