Implement deleting related records.