Revert "Optimization. ThreadLocal.get() is expensive. Let's check it no often that...