Fixes #4, undefined constant, UnsupportedKeyError when passing in a bogus key