Propage TreeScope into the shadow trees too.
Merge pull request #402 from arv/tree-scope-in-shadow

Propage TreeScope into the shadow trees too.