Replace validation messages.