Tools for formatting output.