Move process event to be a static method