diff --git a/uuid.install b/uuid.install
index c2f1947..a945a69 100644
--- a/uuid.install
+++ b/uuid.install
@@ -35,6 +35,30 @@ function uuid_schema_alter(&$schema = array()) {
 }
 
 /**
+ * Implements hook_modules_installed().
+ */
+function uuid_modules_installed($modules) {
+  foreach ($modules as $module) {
+    // get entity_info so we can get the
+    if (module_implements('entity_info', $module)) {
+      $entity_infos = module_invoke($module, 'entity_info');
+      foreach ($entity_infos as $entity_type => $entity_info) {
+        $entity_info = entity_get_info($entity_type);
+        $schema = array();
+        // Add the UUID columns to the definition.
+        uuid_schema_alter($schema);
+        // Now lets add the actual UUID field.
+        uuid_add_field($schema, $entity_info['base table']);
+        if (!empty($entity_info['revision table'])) {
+          // Now lets add the actual UUID field.
+          uuid_add_field($schema, $entity_info['revision table']);
+        }
+      }
+    }
+  }
+}
+
+/**
  * Implements hook_install().
  */
 function uuid_install() {
