documentation tweaks and change to maxLength