Add a model for storing intervals (a pair of begin/end events).