Adding support for memcached.