Revert "relax binary restriction."

This reverts commit cf45e2a6e0eda6cfa52f5606b5c5f07c3bd647a4.