diff --git a/core/modules/shortcut/shortcut.install b/core/modules/shortcut/shortcut.install
index c64ddb5..d92b382 100644
--- a/core/modules/shortcut/shortcut.install
+++ b/core/modules/shortcut/shortcut.install
@@ -60,7 +60,7 @@ function shortcut_schema() {
 }
 
 /**
- * @defgroup updates-7.x-to-8.x Updates from 7.x to 8.x
+ * @addtogroup updates-7.x-to-8.x
  * @{
  * Update functions from 7.x to 8.x.
  */
@@ -103,6 +103,6 @@ function shortcut_update_8001() {
 }
 
 /**
- * @} End of "defgroup updates-7.x-to-8.x".
+ * @} End of "addtogroup updates-7.x-to-8.x".
  * The next series of updates should start at 9000.
  */
diff --git a/core/modules/system/system.install b/core/modules/system/system.install
index 5a0aade..7b9effa 100644
--- a/core/modules/system/system.install
+++ b/core/modules/system/system.install
@@ -1454,6 +1454,7 @@ function system_update_last_removed() {
   return 7069;
 }
 
+//Do not copy @defgroup to other files. Use @addtogroup instead.
 /**
  * @defgroup config_upgrade Configuration system upgrade functions
  * @{
diff --git a/core/modules/toolbar/toolbar.install b/core/modules/toolbar/toolbar.install
index 5ffdedc..4ef6259 100644
--- a/core/modules/toolbar/toolbar.install
+++ b/core/modules/toolbar/toolbar.install
@@ -15,7 +15,7 @@ function toolbar_schema() {
 }
 
 /**
- * @defgroup updates-7.x-to-8.x Updates from 7.x to 8.x
+ * @addtogroup updates-7.x-to-8.x
  * @{
  * Update functions from 7.x to 8.x.
  */
@@ -41,6 +41,6 @@ function toolbar_update_8001() {
 }
 
 /**
- * @} End of "defgroup updates-7.x-to-8.x".
+ * @} End of "addtogroup updates-7.x-to-8.x".
  * The next series of updates should start at 9000.
  */
