Implement C-d. Fixes #14