Added parser for chat messages