P(retend)GM is a mock implementation of PGM's public API.