Metadata, metaclasses and provenance
Fix logical insertions