Remove unused plugins and their settings