Remove trailing whitespace
Ensure types are hashable before passing to C layer.  Add associated unit test
Bump version