Removes useless plugins.