libpgf: modified template with xtraeme remarks