Reorganizing formatter related stuff.