Modified how objects are setup when the values are read from a config