Register a class so it survives being nested in a serialized value.
Registration is idempotent for the same tag: importing a module twice must not fail, but two different codecs claiming one tag is a bug worth reporting.
Register a class so it survives being nested in a serialized value.
Registration is idempotent for the same tag: importing a module twice must not fail, but two different codecs claiming one tag is a bug worth reporting.