Reformat code & optimize imports.