Remove code moved to predictor.R