Capable switch refactoring: v4 flow module.