Replace old notification code with pprint