During Ms. Tutweiler's history lesson, Zack, Cody and London fall asleep and dream of themselves in classic fairy tales. London (Brenda Song) dreams that she is the evil witch trying to poison Snow White (Bailey), so she can be the fairest in the land; Cody (Cole Sprouse) imagines he and Zack (Dylan Sprouse) are Hansel and Gretel as they get lost in the forest and find a candy cottage and Ms. Tutweiler, a witch; and Zack dreams of Jack and the Beanstalk, in which he trades the family cow for magic beans.