Allows a slot to be either a list or a NULL.
Dario Strbenac
setClass("EasyClassifier", representation(model = "listOrNULL")) classifier <- new("EasyClassifier", model = NULL) # Optimistic classifier.