Added a clear() and destroy() to the plugin, as well as the test page.