Add a way to get the context of any particular scope.