Note that 0x prefix on hex strings is optional.