Add constructor 'ofLength' to Interval.
Add string serialization to Interval.