Expose data type from mappers. Fixes #32.