Let's say your township has decided that it needs a certain type of roof, or that every house needs an exit window in the basement. Homeowners insurance may cover legally required upgrades. There's usually a limit to how much they can pay, but it's good to have help to cover the costs.