Updated pgp plugin to the new builder API