Rename the method to dependency_tree instead of print_dependency_tree