changed the way I registered the per-route message handlers