Getting children type from BaseEntity [sequel-datasets]