Add support for binary data type. Closes #18