Add compatibility to demo page.