Added missing import

Error on line 36 was due to EventPriority not being imported.