diff --git a/search_api.install b/search_api.install
index 8aecfcf..feb40b3 100644
--- a/search_api.install
+++ b/search_api.install
@@ -494,6 +494,20 @@ function search_api_disable() {
     ->execute();
 }
 
+/*
+ * Implements hook_modules_enabled().
+ */
+function search_api_modules_enabled($modules) {
+  drupal_static_reset('search_api_get_item_type_info');
+}
+
+/*
+ * Implements hook_modules_disabled().
+ */
+function search_api_modules_disabled($modules) {
+  drupal_static_reset('search_api_get_item_type_info');
+}
+
 /**
  * Implements hook_uninstall().
  */
