Add validation error messages

Fixes #128