Support all bitwise operations on flags