@classmethod
def restore(cls, saved, context=None):
    """Restore saved variable names and values from dictionary returned by
        the ``.save()`` method.

        `saved`
            Dictionary of saved variable names and values.
        `context`
            Optional variable context.
        """
    context = cls._get_context(context)
    context.restore(saved)
