getChildren method.