docs: public InternalDocumentRevision getCurrentRevision() {
          for(DocumentRevisionNode n : leafs) {
              if(n.getData().isCurrent()) {
                  return n.getData();
              }
          }
          throw new IllegalStateException("No current revision found.");
      }