Make pprint friendly

pprint can not work when __getattribute__ is overwrited.
Instead, use __getattr__.