Break out event channel initialization into seperate function, slightly cleaner.