Updated the hex formatter.