event callbacks separation by type dictionary