Corrected some absurdities in the appendTo sample.