Moving validation messaging to a separate prototype called messages.