Also add checking presence of the `oid`, `cid` fields via `set` flag. Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
Also, remove deprecated methods and types. Close #60. Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>