Terminal Class framework.