Add flyweight pattern in EventPriority