Make the cache a bit smarter about nameds.