Note: I'm presently working around this with the slightly ridiculous hack of using a regex to remove everything after the `DocumentNode<...>` declaration. This is obviously fragile and not a good long-term solution for us!