--- modules/node/node.module.orig	2010-07-16 18:26:17.000000000 +0200
+++ modules/node/node.module	2010-07-16 18:28:40.000000000 +0200
@@ -1148,6 +1148,7 @@ function node_delete_multiple($nids) {
       // Call the node-specific callback (if any):
       node_invoke($node, 'delete');
       module_invoke_all('node_delete', $node);
+      module_invoke_all('entity_delete', $node, 'node');
       field_attach_delete('node', $node);
 
       // Remove this node from the search index if needed.
--- modules/taxonomy/taxonomy.module.orig	2010-07-16 18:31:31.000000000 +0200
+++ modules/taxonomy/taxonomy.module	2010-07-16 18:33:43.000000000 +0200
@@ -417,6 +417,7 @@ function taxonomy_vocabulary_delete($vid
 
   field_attach_delete_bundle('taxonomy_term', $vocabulary['machine_name']);
   module_invoke_all('taxonomy', 'delete', 'vocabulary', $vocabulary);
+  module_invoke_all('entity_delete', $vocabulary, 'taxonomy_vocabulary');
 
   cache_clear_all();
   entity_get_controller('taxonomy_vocabulary')->resetCache();
@@ -568,6 +569,7 @@ function taxonomy_term_delete($tid) {
 
       field_attach_delete('taxonomy_term', $term);
       module_invoke_all('taxonomy_term_delete', $term);
+      module_invoke_all('entity_delete', $term, 'taxonomy_term');
     }
 
     $tids = $orphans;
--- modules/comment/comment.module.orig	2010-07-16 18:30:22.000000000 +0200
+++ modules/comment/comment.module	2010-07-16 18:31:10.000000000 +0200
@@ -1581,6 +1581,7 @@ function comment_delete_multiple($cids) 
     foreach ($comments as $comment) {
       field_attach_delete('comment', $comment);
       module_invoke_all('comment_delete', $comment);
+      module_invoke_all('entity_delete', $comment, 'comment');
 
       // Delete the comment's replies.
       $child_cids = db_query('SELECT cid FROM {comment} WHERE pid = :cid', array(':cid' => $comment->cid))->fetchCol();
--- modules/user/user.module.orig	2010-07-16 18:29:02.000000000 +0200
+++ modules/user/user.module	2010-07-16 18:30:05.000000000 +0200
@@ -2337,6 +2337,7 @@ function user_delete_multiple(array $uid
 
     foreach ($accounts as $uid => $account) {
       module_invoke_all('user_delete', $account);
+      module_invoke_all('entity_delete', $account, 'user');
       field_attach_delete('user', $account);
     }
 
