Resume fix for MongoDB wrapper. Also, indentation.