Added chat functionality.