Add in some code for doing time series stuff (will only work in UCL).