Add menu items from code