Replace bundles with a new set of dependencies.