Optimize imports and reformat everything.