@classmethod
def setup(cls, **kwargs):
    """Set up the storage system for memcached-based sessions.

        This should only be called once per process; this will be done
        automatically when using sessions.init (as the built-in Tool does).
        """
    for k, v in kwargs.items():
        setattr(cls, k, v)
    import memcache
    cls.cache = memcache.Client(cls.servers)
