Remove unnecessary Provides.