Add functions to get/set any variable in scope