Improve exception messages

Fixes also #78