Remove unneeded plugins.