def METHOD_NAME(cls, values_dict):
    """
    Create class from dict
    :param values_dict: Dictionary of values (and a type key)
    :type values_dict: dict
    :return: Class object
    """
    del values_dict['type']
    return cls(**values_dict)