Add method to format hexadecimal numbers.