Add some baseclass for term groups