Pass context, event name and data to command constructors