Rewrite examples for the demo page.