Added hex to uint and uint to hex methods