Reformat code to and remove unused imports.