<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def add_special(self, name):
 """Register a special name like `loop`."""

        self.undeclared.discard(name)
        self.declared.add(name)