Change demo code to demo plugin.