Added class Interval.