Add APIs for customizing the user agent