Add all the case classes for the terms