Finished implementing Cache.