Store std::unique_ptr in InMemoryBuffers. NFC.