HEX parsing rework.