SetAttr now creates attributes, in addition to updating attributes, clos...

...es #57