Mods to collection to allow its mixin to work with resource.