Formatting and private helper.