Extracted predictor in a separate class