Fixed some bugs pointed out by @jakeonfire
Merge pull request #180 from marcrohloff/Add-reflection-for-GCM-NotRegistered-errors

Fixed some bugs pointed out by @jakeonfire