validate method can optionally return a modified string that will override the val.
Release 0.5.0