Added Intervals to Declaration.
Added getIntervals().