Fixing PI Import for PI 3.6