Fix DemoApplication to conform to the new scoping validation.