More removal of MongoDB logic from application code. Mostly complete.