Add support for intervals.