Adding scoping demo code.