copyPrivileges(builder);
copyVersionStore(builder, idxToPrefix);
copyWorkspaces(builder, idxToPrefix);
// TODO: default hooks?
CommitHook hook = new CompositeHook(
new EditorHook(new GroupEditorProvider()),
new EditorHook(new CompositeEditorProvider(
new TypeEditorProvider(),
new IndexUpdateProvider(new CompositeIndexEditorProvider(
new ReferenceEditorProvider(),