Made setConfig() public.