Don't include a weird user-agent in the new API.

Now that's I've seen how swift does these method->var->conditional blocks this looks so ugly!