Reformat and optimize imports.