`flatten_sequence` now works with all collections.Sequence subclasses.