Clean up some output formatting.