Add releaseDependencies method.