[EVENTVWR] Simplify some duplicated code. (#4745)