More helpful errors. Fixes #10.