Fix collections not being properly reinjected.