Added XTimeSeries implementation