Changed maxlength to maxlen for MM:S compat reasons.