Optimized imports and formatted code