Fix reference to base type of list type
Expose map_dtype to users