Introducing the per-thread Singleton design pattern.