Clazz now inherits from ObjectType