Package.getDependencies method.
Dependency parsing.