I’m just storing data structures referenced by data structures in nodes, but that are not themselves related to any particular node.
I also plan to store some extra meta information about the document in the doc node; schema version, features enabled, and etc.
Per the prior comment I have already contributed this as DocAttrStep in the referenced documentation.