Only pass max_length for CharField. Closes #2317.