Validation messages

As reference to #228
changed