Automatically allow WebAPI instances created from tests without init/window.
Only expose the web api interface to content as part of the class info.