Removed dependency on tseries