Added PGTune.

Adding this functionality upstream since it was found to be appropriate to do this.