Link.prototype.addProperty = function(uri, value) {
  value = value || null;
  this.properties.put(uri, value);
};