Replaced SEL_MENUITEM with Action<object>.