Refactored BaseEntity.children_type [sequel-datasets]