Implement and test deletion.