Add userAgent class