Added dynamic label support to submenus and actions.