Added memcache support