Format and fix imports