Fixed missing tag types (defaulting to int).