Use Thread.current instead class variables for base instance mode