Renamed collectionName to collection in flows and beans