Flyweight factory.