//This is why it's important to manually set context to `doc` if you want to select/traverse on the document.