minor

class_ => cls
value => inst
_to_value => _to_dict_value