Although contractors can’t eliminate the risk of community opposition, “there are things they can do to avoid becoming the insurer of that risk,” said Mark Carter, partner at law firm Buchalter.