Added term attribute to class definition