Set maximum block count for the documents
Add BufferTreeLabel as a workaround for styling top level tree items