Deprecated max_length and pattern options