Refactor PingppObject.