Changed examples to show executing code in a frame context.