Added support for hexadecimal numbers (0x prefix) for TM parameter restrictions