Added improved UA parsing.