Allow custom subclasses when extending an entity.