ChatMessage class added.