Reformat table.