Updated to work with modsCollection.