Added chat class.