Updated SamplePlugin.