Add a getSync method to fetch objects directly from the cache.