code: def add(self, name, value):
          # type: (str, str) -> None
          
          self._last_key = name
          if name in self:
              self._dict[name] = value
              self._as_list[name].append(value)
          else:
              self[name] = value
docs: Adds a new value for the given key.