Improved UserAgentGenerator behavior (now without Reflection)