Currently wrapping MongoClient and changing the codec repository is painful especially compared to MongoDatabase.