Convert reader creation to Cadence.

See #375.