Validate message content.