Refactor the `Collection::addLegacyBundle()` method