Add struct Interval.