store class delegates in Thread.current