After looking more closely, we can extract `VALID` and `EXTENDED` into their own flags enum, and the rest go into an extended flags enum, which do represent how we do things elsewhere.