Missed out refactorings in SemanticsGlobalScope and DocumentClosure.