Add getChildren method