Code style changes.

Neatened up toGob and fromGob. No functionality changes. Great library.