`allow_auto` is always 1 in all referenced lines. Do we really need it? Besides, it looks like an parameter that controls the flow, I would put it in the end of the list for further control logic changes.