Port TopMenus to transitional syntax.