Added n_exclude_params to deal with non-nested models.