 
     callback()
 
-  this.Given /^I validate the following JSON data against (.*?)$/, (type, json, callback) ->
+  @Given /^I validate the following JSON data against (.*?)$/, (type, json, callback) ->
     type = system.fetch(type)
 
     try


    callback()

  this.Given /^I dress the following JSON document with (.*?):$/, (type, doc, callback) ->
    try
      json = JSON.parse(doc)
      result = system.fetch(type).dress(json)


  this.Then /^it should be a TypeError as:$/, (table, callback) ->
    unless result instanceof Qjs.TypeError
      callback.fail result

    for k, v of table.hashes()[0]
      unless result[k] == v
