Removed Thread.current setting of config