Upgrade Cadence to 0.0.41.

Closes #22.