Added getters and setters to subclasses of Term