Function createProvenanceHooks