Remove is_cached where not needed.

Only needed in cases using $loc right now.