Abstracted common functionality for menu items