This should be named getDependencies