Used to implement different chat GUI.