Not just electrical -- pretty much any system or major structure in your house. We had to have a few minor repairs done to our roof, but due to newly passed regulations (and a 45° roof pitch), the roofers needed to also install roof anchor points (beefy D-rings basically) for their safety before they did anything else. Anecdata, sure, but plumbing, sewer, foundations all have similar stories.