Repair imports.