Rewrite the composer to properly render multiple captions and handle complex compositions better.