Clean imports in TaskContainer.