Add  option to allow setting configuration programatically.