Added user agent tracking.