Remove use of Config class.