We want the mode bits to be ints.