Make class Timeseries subclass of object