Setup framework for 'event' pattern.