diff --git a/currency.classes.inc b/currency.classes.inc
index b1eb514..917e9bf 100644
--- a/currency.classes.inc
+++ b/currency.classes.inc
@@ -33,6 +33,13 @@ class Currency {
   public $decimals = 2;
 
   /**
+   * Whether the currency is locked (not user editable).
+   *
+   * @var boolean
+   */
+  public $locked = FALSE;
+
+  /**
    * The currency's official sign, such as '€' or '$'.
    *
    * @var string
@@ -52,6 +59,12 @@ class Currency {
    * @var string
    */
   public $title = '';
+
+  function __construct(array $properties = array()) {
+    foreach ($properties as $property => $value) {
+      $this->$property = $value;
+    }
+  }
 }
 
 /**
@@ -95,4 +108,10 @@ class CurrencyLanguage {
    * @var string
    */
   public $thousands_separator = '';
+
+  function __construct(array $properties = array()) {
+    foreach ($properties as $property => $value) {
+      $this->$property = $value;
+    }
+  }
 }
