Clean up provider.