[FAILED] Adding custom action functions to menus.