Revert "binary_type"

This reverts commit 34b0284b0d4724a71fe2a1a49a69e25d95cffdf0.