Output formatting tools.