Refactored to handle generic MemcachedResponse objects