add caching for event type hierarchy