Added chat class