diff --git a/core/includes/form.inc b/core/includes/form.inc
index 2a70c42..c5345ff 100644
--- a/core/includes/form.inc
+++ b/core/includes/form.inc
@@ -5143,7 +5143,6 @@ function batch_process($redirect = NULL, $url = 'batch', $redirect_callback = 'd
 
       // Store the batch.
       Drupal::service('batch.storage')->create($batch);
-      file_put_contents('/tmp/log', print_r($batch, TRUE));
 
       // Set the batch number in the session to guarantee that it will stay alive.
       $_SESSION['batches'][$batch['id']] = TRUE;
diff --git a/core/lib/Drupal/Core/Utility/BatchStorageInterface.php b/core/lib/Drupal/Core/Utility/BatchStorageInterface.php
index 03e096c..9bd2968 100644
--- a/core/lib/Drupal/Core/Utility/BatchStorageInterface.php
+++ b/core/lib/Drupal/Core/Utility/BatchStorageInterface.php
@@ -12,20 +12,42 @@
   /**
    * Loads a batch from the database.
    *
-   * @param $id
+   * @param int $id
    *   Optional. The ID of the batch to load. When a progressive batch is
    *   being processed, the relevant ID is found in $_REQUEST['id'].
    *
-   * @return
+   * @return array
    *   An array representing the batch, or FALSE if no batch was found.
    */
   public function load($id = NULL);
 
+  /**
+   * Creates a batch by saving it to the database.
+   *
+   * @param array $batch
+   *   The array representing the batch to create.
+   */
   public function create(array $batch);
 
+  /**
+   * Updates a batch in the database.
+   *
+   * @param array $batch
+   *   The array representing the batch to update.
+   */
   public function update(array $batch);
 
+  /**
+   * Loads a batch from the database.
+   *
+   * @param int $id
+   *   The ID of the batch to delete.
+   */
   public function delete($id);
 
+  /**
+   * Cleans up failed or old batches from the database.
+   */
   public function cleanup();
+
 }
