Fix pprint import to get method instead of module