Added nested cache provider support.