<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def restore_model(cls, data):
 """Returns instance of ``cls`` with attributed loaded from ``data`` dict. """

    obj = cls()
    for field in data:
        setattr(obj, field, data[field][Field.VALUE])

    return obj