Convert `cursor` to Cadence.

See #375.