Support change -d. Fixes #142.