Updated the way that the user agents are defined.