These three methods and the get above belong to `$objectCache`, so I would suggest you make `$objectCache` an object with a reusable/generic implementation.