code: func (w *UserTypesWriter) Execute(t *design.UserTypeDefinition) error {
  	fn := template.FuncMap{
  		"finalizeCode":   w.Finalizer.Code,
  		"validationCode": w.Validator.Code,
  	}
  	return w.ExecuteTemplate("types", userTypeT, fn, t)
  }
docs: // Execute writes the code for the context types to the writer.