NodeBuilder builder = root.builder();
NodeState before = builder.getNodeState();
builder.child(":hidden");
NodeState after = builder.getNodeState();
hook.processCommit(before, after);
before = after;
builder.child(":hidden").setProperty("prop", "value");
after = builder.getNodeState();
hook.processCommit(before, after);