Handle import cycles.