Add more code to make menus functional.