Fix an error in DataType class.