More customized functionality for mac os x menus.