Update pprint to use new functions