Reapplies imports.