Capable switch: refactored v3 and v4 backend modules.