Add TermBase abstract class