Group global event handlers also in applications