Interval now uses tuples to simplify immutability. This has a slight cost in performance but will be negligible in actual use.