   }
 
   // Get reference to container
-  let retrieveContainer = { (objStore: ObjectStorage?) -> Void in
-    if let objStore = objStore {
-      objStore.retrieveContainer(name: containerName) { (error, container) in
+  let retrieveContainer = { (objStorage: ObjectStorage?) -> Void in
+    if let objStorage = objStorage {
+      objStorage.retrieveContainer(name: containerName) { (error, container) in
         if let container = container where error == nil {
           storeImage(container)
         } else {

  }

  // Create container
  let createContainer = { (objStore: ObjectStorage?) -> Void in
    if let objStore = objStore {
      objStore.createContainer(name: name) { (error, container) in
        if let container = container where error == nil {
          configureContainer(container)
        } else {

/**
* Connects to object storage service and upon completion, invokes the completionHandler closure.
*/
private func connectToObjectStorage(completionHandler: (objStorage: ObjectStorage?) -> Void) {
  // Create object storage instance and connect
  let objStorage = ObjectStorage(projectId: objStorageConnProps.projectId)
  objStorage.connect(userId: objStorageConnProps.userId, password: objStorageConnProps.password, region: ObjectStorage.REGION_DALLAS) { (error) in
    if let error = error {
      let errorMsg = "Could not connect to Object Storage."
      Log.error("\(errorMsg) Error was: '\(error)'.")
      completionHandler(objStorage: nil)
    } else {
      completionHandler(objStorage: objStorage)
    }
  }
}
