Adds addEvent in EventModel.