Fixes provider class.