Added new option: maxChars.