Convert `insert` to Cadence.

See #375.