Bugfix and docs for validationMessage