Add convert2pingpp_object and some other changes.