Refactored to use getter for user-agent header