Re #1479 Making User agent string as constant.
Re #1434 Adding data type.