var Amanda = function(engine) {

  if (!hasProperty(engines, engine)) {
    throw new Error('The ‘' + engine + '’ engine is not supported. Please use a different one.');
  }

  return engines[engine];

};
@@ -197,8 +197,1082 @@
 ne%5D;%0A%0A%7D;
+%0A%0A/**%0A * Amanda.validate%0A *%0A * This method is deprecated, please use %E2%80%98amanda('json').validate%E2%80%99 instead.%0A */%0AAmanda.validate = function(instance, schema, options, callback) %7B%0A  var json = engines.json;%0A  return json.validate.apply(json, arguments);%0A%7D;%0A%0A/**%0A * Amanda.addValidator%0A *%0A * This method is deprecated, please use %E2%80%98amanda('json').addValidator%E2%80%99 instead.%0A */%0AAmanda.addValidator = function(attributeName, attributeFn) %7B%0A  var json = engines.json;%0A  return json.addAttribute.apply(json, arguments);%0A%7D;%0A%0A/**%0A * Amanda.addAttribute%0A *%0A * This method is deprecated, please use %E2%80%98amanda('json').addAttribute%E2%80%99 instead.%0A */%0AAmanda.addAttribute = function(attributeName, attributeFn) %7B%0A  var json = engines.json;%0A  return json.addAttribute.apply(json, arguments);%0A%7D;%0A%0A/**%0A * Amanda.addAttributeConstructor%0A *%0A * This method is deprecated, please use %E2%80%98amanda('json').addAttributeConstructor%E2%80%99 instead.%0A */%0AAmanda.addAttributeConstructor = function(attributeName, attributeConstructor) %7B%0A  var json = engines.json;%0A  return json.addAttributeConstructor.apply(json, arguments);%0A%7D;

Add a compatibility layer