Define the `setHost` and `api` helper properties on the parent, not the sacrificial app.

Test comment is wrong.