Added onAnyEvent delegate (not definitive)