Created a separate formatter for Console.