def __setattr__(self, name, value):
self.__ensure_attribute(name)<EOL>for d in self.declarations:<EOL><INDENT>setattr(d, name, value)<EOL><DEDENT>
Updates the value of attribute on all declarations.
        :param name: name of attribute
        :param value: new value of attribute