Fixed bug with binary encoding
Removed 'binary_type' parameter