Add user-agent switching support.