Extract EventMenuMixin in views.