Reformat and remove console output.