Add support for formatting vectors and add the isVectorType trait.