Wires are generally not too difficult. As they are in the transmission, I would recommend soldering in the replacement pieces and sealing them with shrink tubing. If the connection is too close to a fitting, you can do a final sealing with liquid electrical tape.