Add priority property to event