Change name of AsTerm to HasTerms