Support variadic arguments for event dispatcher

Change-Id: I7607311db9a2237c1dc026e984ec7ced0bcfe502
Merge "Support variadic arguments for event dispatcher"