@scopatz suggested otherwise in a previous pull request, calling get_var/set_var anti patterns