Use more suitable EventPriority type.