RICHMOND, Va. (AP) — Virginia lawmakers gave final approval Friday to legislation aimed at making absentee voting easier in the midst of the coronavirus pandemic, including having the state prepay postage and provide drop boxes for absentee ballots.

The House of Delegates approved a Senate bill that will allocate $2 million for prepaid postage and also set up a process for voters to correct paperwork issues on improperly submitted ballots. The Senate approved the bill last week, and Gov. Ralph Northam quickly signed it into law after the House approval Friday.

Northam had urged lawmakers to move quickly to approve additional funding for absentee voting, with the presidential election just two months away.

States around the country are expecting a big increase in voting by mail because of the ongoing health threat from the coronavirus.

President Donald Trump has sharply criticized the Postal Service, which he considers wasteful, and has threatened to oppose extra money to help it handle record levels of mail-in ballots.

Some Republicans in Virginia have objected to spending $2 million on postage and questioned whether the drop boxes to be placed at polling places and other locations will be secure enough to prevent voter fraud.

Democrats have argued that the pandemic calls for unprecedented action to ensure voting is as easy as possible for every eligible voter.

The legislation requires that cities and counties provide the prepaid postage for voters to mail in their absentee ballots, but they will be reimbursed by the state Department of Elections.