We could then use paths once and use the history afterwards (for documents or queries). This would allow comparing queries, too.