Add memcache support.