Support maxLength keyword