Refactored memcached settings.