Upgrade Proof to 0.0.39.

Closes #330.