(style) I would be inclined to put all of this in init along with expected and, here, have the detection of actual modes, possibly along with ok_$(modes).