some changes to gob.