Implemented smart pickling for svigp