Fixed binary type

Fixes #4