Use `StrCollection` to avoid potential bugs with `Collection[str]`.