Moved the formatter logic into Configurator.