oh damn. This isn't used by webapps anymore. We should probably remove this whole thing. But this is fine. I'll file a bug to do that as a separate commit.