Handling case where parent doesnt have children() method