Add cache providers in a separate method.