Added addDependencies(...) to DependencyNode.