Revert "Prefer vector to manual linked list for compositions."

Breaks type inference.

This reverts commit 79b1266ed812702f170a945bae49d1688296872f.