A sequence predictor.