Passed message handlers into their own class