Optimize imports under progress.