Improved confusing validation messages, closes #30.