Adding tseries-based functions.