Allow to set maxlength for some fields