Since `collecting_queries_for_explain` does the same dance, could consider adding a `with_queries_for_explain` to `RuntimeRegistry`. However, that kind of behavior feels out of scope for a mere registry...