         hasFailure = true
       }
       if specStatus == .Unknown {
-        let name = getClassNameOfObject(spec)
+        let name = getClassNameOfObject(spec as! AnyObject)
         println("Unknown status of spec: \(name)"); exit(2)
       }
     }

      specStatus = .Unknown

      let block = {
        self.runSpec(spec)
      }

      let timeout: NSTimeInterval = 2; // 2 seconds in the future

    // Silence assertions on this thread
    RSilentAssertionHandler.setup()

    let className = getClassNameOfObject(spec as! AnyObject)

    currentGroup = Group(className)
    specStatus   = .Passed
  }

  @objc func runSpec(specBox: SpecBox) {
    let spec = specBox.spec

    prepareForSpec(spec)

    // Process the definitions
