final Oak oak = new Oak(nodeStore)
.with(new InitialContent())
.with(new ExtraSlingContent())
.with(JcrConflictHandler.JCR_CONFLICT_HANDLER)
.with(new EditorHook(new VersionEditorProvider()))
.with(securityProvider)
.with(new NameValidatorProvider())
.with(new NamespaceEditorProvider())