Adding an optional "hex" argument to make it interpret everything as
hex.