code: func finalizeSet(set DefinitionSet) error {
  	for _, def := range set {
  		if finalize, ok := def.(Finalize); ok {
  			finalize.Finalize()
  		}
  	}
  	return nil
  }
docs: // finalizeSet runs the validation on all the set definitions that define one.