<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_attrs(self, symbol, **kwargs):
 """ Helper for setting symbol extension attributes """

        for key, val in kwargs.items():
            symbol.add_extension_attribute(self.extension_name, key, val)