Added dependency_graph utilities; refactoring '__configure_package'.