 Name = (name,test) ->
   f = (val) ->
     if err = test(val)
-      return error "Invalid #{name}:", val, err
+      return error "#{name}:", val, err
   f.contractName = name
   return f
 


    for key, test of tests
      if err = test(val[key])
        return error "Invalid property '#{key}':", val, err

    return



    for e, i in val
      if err = test(e)
        return error "At #{i}:", val, err

    return

