Common "mode" to register shared event handlers