Added native datatype support. Closes #170