Call .destroy() on plugins (fixes #418)