Made BasicTerm inheritance public.