For TemplateDeclarations, we need to remember the Scope where it was declared. So mark the Scope as not to be free'd.
See Implementation
For TemplateDeclarations, we need to remember the Scope where it was declared. So mark the Scope as not to be free'd.