Support code for rustdoc and external tools. You really don’t want to be using this unless you need to.