Remove unneeded provides.