Fix memcached-related issues.