Fix up the cap provider.