Add support for `--dry-run` mode.