Added print-dup and print-method for PGobject.