Simplify predictor extraction code