Move _get_children to Entity class