diff --git a/core/modules/system/src/Entity/Action.php b/core/modules/system/src/Entity/Action.php
index a7176db..c7ef788 100644
--- a/core/modules/system/src/Entity/Action.php
+++ b/core/modules/system/src/Entity/Action.php
@@ -34,14 +34,14 @@ class Action extends ConfigEntityBase implements ActionConfigEntityInterface, En
    *
    * @var string
    */
-  public $id;
+  protected $id;
 
   /**
    * The label of the action.
    *
    * @var string
    */
-  public $label;
+  protected $label;
 
   /**
    * The action type.
@@ -87,6 +87,36 @@ protected function getPluginCollection() {
   /**
    * {@inheritdoc}
    */
+  public function label() {
+    return $this->get('label');
+  }
+
+  /**
+   * {@inheritdoc}
+   */
+  public function setLabel($label) {
+    $this->set('label', $label);
+    return $this;
+  }
+
+  /**
+   * {@inheritdoc}
+   */
+  public function id() {
+    return $this->get('id');
+  }
+
+  /**
+   * {@inheritdoc}
+   */
+  public function setId($id) {
+    $this->set('id', $id);
+    return $this;
+  }
+
+  /**
+   * {@inheritdoc}
+   */
   public function getPluginCollections() {
     return array('configuration' => $this->getPluginCollection());
   }
