Made updates to the generation of Mongo C++ code