Cleans up bundles.