Adds support for unicode keys. Fixes #18.