Add public expand and close methods to the menu.