Don't create new scope if context doesn't have a parent.
Add method to get the global (module) scope.