Fixed issues caused by IntelliJ's apparent "Optimize Import" regression: imports that only contains implicits are optimized away.