Adopted DemoPage to new API.