Replace type's type to be Collection instead of String