Made a generic argument coming as options to set event.