code: def add_features(self, **features):
          
          for fname, fvalue in six.iteritems(features):
              setattr(self, fname, fvalue)
              self.features.add(fname)
docs: Add or update several features.