Added wrappers around the binary check.