#1041 Fix createMethods() on Menu.