Adding pprint feature. Resolves #1666