Removed unnecessary ChatMessage class