Added missing command method to MongoDB
Code cleanups