docs: def add_field(self, name, default_value=None):
          """Add a field with an optional default value."""
          self._fields[name] = default_value
  
          def func(cluster):
              return self.get(name, cluster)
  
          setattr(self, name, func)