Refactor Bridge.matchBridge