Hardcoding the collection names was stupid but harmless when the collection names were unchanging. Now I'm moving to a design that depends on denormalized, dynamically generated collections, so the hardcoding is harmful. Redoing these functions to use getCollectionNames() to show what collections really currently exist.