Changes the dependencies.