Fixed incorrect type for max_length.