Making sure 'set' produces a truly immutable object, and fixing a couple of places where mutation was being used in the library.
Merge pull request #2 from dfellis/master

Make sure 'set' produces a truly immutable object