Added TimeSeries class.