Fixed a pointer error. Added null returns for objects not in the cache.