Update to the latest version of PE.

Upgrading to 3.2.2.
Merge pull request #250 from klynton/master

Update to the latest version of PE.