MongoInvoker refactored