def create_instance(cls_info):
    """
    Creates instance of a class specified in cls_info.
    cls_info's format is (class_name, args, kwargs)
    e.g.:
       create_instance((dict, None, None))
    """
    cls, args, kwargs = cls_info
    if args is None:
        args = []
    if kwargs is None:
        kwargs = {}
    return cls(*args, **kwargs)