Set priorities on event handlers.