Memcached support, tweaks