same comment about cache key needing mode here.