Add term base class.