Get classes base class, not the record