Add the ChatBox class.