Modified to use Traversable, convert to array for indexed access.