DocumentState is now listening to changes (doesn't do anything yet).