Cleaned up the sample plugin.