Flyweight design pattern