Added Chat class.