Added kNN predictor.