Virginia homeowners’ associations will not have the power to impose fines that are not in their declarations, after a contentious bill on the issue was revamped in committee.

The final bill that passed both chambers of the legislature is stripped of that controversial provision. It now focuses on giving both HOAs and homeowners access to court in disputes as well as the right to attorney fees after a victory.

“This is a bad bill when it came to us before,” Del. Gregory D. Habeeb (R-Salem) told delegates before the vote Friday. “It is now a good bill, it is now a pro-homeowners bill.”