 public struct ObjectStorageConn {
   let connectQueue = dispatch_queue_create("connectQueue", nil)
   let objStorage: ObjectStorage
+  var test = 10
   let connProps: ObjectStorageConnProps
   private var authenticated: Bool = false
   private var lastAuthenticatedTs: NSDate?

  init(objStorageConnProps: ObjectStorageConnProps) {
    connProps = objStorageConnProps
    objStorage = ObjectStorage(projectId: connProps.projectId)
  }

  mutating func getObjectStorage(completionHandler: (objStorage: ObjectStorage?) -> Void) {


    // Network call should be synchronous since we need to know the result before
    // proceeding...
    guard let semaphore = dispatch_semaphore_create(0) else {
      Log.warning("Couldn't create semaphore")
      return
    }
    
    Log.verbose("Making network call synchronous...")
    objStorage.connect(userId: connProps.userId, password: connProps.password, region: ObjectStorage.REGION_DALLAS) { (error) in
      if let error = error {
