private void UpdateSchema(MongoSchemaEntity entity, Schema schema)
 {
     entity.SerializeSchema(schema, serializer);
 }
 private void UpdateSchema(MongoSchemaEntity entity, Func <Schema, Schema> updater)
 {
     entity.UpdateSchema(serializer, updater);
 }