Refactoring MongoEvents