Format output.