Adapt to rust changes. Fixes #203.