@API(status = API.Status.STABLE)
    public final void captionRegistry(final @NonNull CaptionRegistry<C> captionRegistry) {
        this.captionRegistry = captionRegistry;
    }
Replaces the caption registry.
<p>
Some platforms may inject their own captions into the default caption registry,
and so you may need to insert these captions yourself, if you do decide to replace the caption registry.

@param captionRegistry new caption registry.
@see #captionRegistry()
cloud-core/src/main/java/org/incendo/cloud/CommandManager.java