Improve validation error message.