Use FastThreadLocal in more places