Changed the Interval constructor to be nicer.