predict() now works correctly for categorical dependents and in the presence of exogenous covariates