Changing event signature so data and params are separate. "data" is always a primitive or object, "params" is always an array.