Add messages to validator