Implement BIDI checks. Untested.