Added package import cycle detection.