changes
Added checkObjectCache and checkValueCache for validating caches. 
This is required for some upcoming developments.