`classes` shouldn't be a parameter in the case of regressors.