diff --git a/src/Controller/RestControllerTrait.php b/src/Controller/RestControllerTrait.php
index <HASH>..<HASH> 100644
--- a/src/Controller/RestControllerTrait.php
+++ b/src/Controller/RestControllerTrait.php
@@ -51,4 +51,20 @@ trait RestControllerTrait
         return $data;
     }
 
+    protected function addProhibitedKeys(array $keys)
+    {
+        foreach ($keys as $key) {
+            if (is_string($key)) {
+                $this->prohibitedKeys[$key] = true;
+            }
+        }
+    }
+
+    protected function removeProhibitedKeys(array $keys)
+    {
+        foreach ($keys as $key) {
+            unset($this->prohibitedKeys[$key]);
+        }
+    }
+
 }
\ No newline at end of file
Allow modification of the prohibited keys array, via class methods