Metadata crud hooks