Cache helper implemented so it is easier to access objects in the cache