Formatting utility.