Optimization to not optimize imports on completion of class name if we do not insert any import