Various updates related to supporting memcached for messages storage.