vrt: Add type field to TypeInfo.