Move max-length and max-value-length to columns, make them public