rx base class