Code like this always makes me nervous. There's an outside chance there will be multiple `::` so I think we should take the last as the output name and join the initial ones, as above. Might be over-cautious tho.