Pass data type name instead of data type object