Add Note [Generating the in-scope set for a substitution]