Set the correct user-agent by using the default utility method, and remove unnecessary comments.