Refactor Regressor to use new setup_vars method.