Adds support for more PGM functions.