Safer bitwise flags.