Changed user agent from constant to class variable