inherit from IRC class.