Reformat some code