Tidy up the wiring.