Listen on document changes.
Fixes after introduction of Graph Command compounds.