Set thread storage for analysis effects too