wasn't sending the type of grammar to each pp_ method. Fixed that.