Upgrade Proof to 0.0.40.

Closes #76.