Initial reduction from schema_plus gem