Upgrade to use user agent so hooks work.