Adding user agent support.