Renamed setHost to setConfig.