Defgeneric added to get rid of a style warning