Makes it easy to create and use thread-local variables.