Reformat all the codes.