Allows a slot to be either a function or empty.
Dario Strbenac
PredictParams(NULL) PredictParams(predict)