Changed sample plugin to extend mvc.Plugin.