Speed up scanScope by ignoring Expression subtrees.