API change: the visibility of Module#addDependency and Module#setDependencies is reduced from public to package.