diff --git a/core/modules/filter/filter.filter_html.admin.js b/core/modules/filter/filter.filter_html.admin.js
index 1a20cfa..75a9824 100644
--- a/core/modules/filter/filter.filter_html.admin.js
+++ b/core/modules/filter/filter.filter_html.admin.js
@@ -19,6 +19,7 @@
 
       /**
        * @return {Array}
+       *   An array of filter rules.
        */
       getRules: function () {
         var currentValue = $('#edit-filters-filter-html-settings-allowed-html').val();
@@ -45,10 +46,14 @@
   }
 
   /**
+   * Displays and updates what HTML tags are allowed to use in a filter.
    *
    * @type {Drupal~behavior}
    *
    * @todo Remove everything but 'attach' and 'detach' and make a proper object.
+   *
+   * @prop {Drupal~behaviorAttach} attach
+   *   Attaches behavior for updating allowed HTML tags.
    */
   Drupal.behaviors.filterFilterHtmlUpdating = {
 
diff --git a/core/modules/filter/filter.js b/core/modules/filter/filter.js
index 58b595f..cdb0795 100644
--- a/core/modules/filter/filter.js
+++ b/core/modules/filter/filter.js
@@ -11,6 +11,9 @@
    * Displays the guidelines of the selected text format automatically.
    *
    * @type {Drupal~behavior}
+   *
+   * @prop {Drupal~behaviorAttach} attach
+   *   Attaches behavior for updating filter guidelines.
    */
   Drupal.behaviors.filterGuidelines = {
     attach: function (context) {
