Added parameter to create event to allow giving the events extra classes