Added memcache support.