Passing in user agent on initialization.