Added options for sending events