Linter fix.
Improved exception description of class name mismatch. Fixes #8.