Tweak hex literal implementation.