Improves Validator, adds {@type hex} to allow hexadecimal digits only.