Use Type instead of DataType.

`DataType` is too restrictive as it precludes e.g. `String`, which is a Union.