Added ability to set more complex writeConcern for MongoDB.