Remove unused import statements and compiler extensions