     // Check which type the current row represents.
     switch type {
     case .TimeRemaining:
-      self.value = Battery.timeRemainingFormatted()
+      value = Battery.timeRemainingFormatted()
     case .CurrentCharge:
-      self.value = Battery.percentage()
+      value = Battery.percentage()
     case .PowerUsage:
-      self.value = Battery.powerUsage()
+      value = Battery.powerUsage()
     case .Capacity:
-      self.value = Battery.currentCharge()
+      value = Battery.currentCharge()
     case .CycleCount:
-      self.value = Battery.cycleCount()
+      value = Battery.cycleCount()
     case .Temperature:
-      self.value = Battery.temperature()
+      value = Battery.temperature()
     case .Source:
-      self.value = Battery.currentSource()
+      value = Battery.currentSource()
     case .DesignCycleCount:
-      self.value = Battery.designCycleCount()
+      value = Battery.designCycleCount()
     case .DesignCapacity:
-      self.value = Battery.designCapacity()
+      value = Battery.designCapacity()
+    case .Undefined:
+      value = ""
     }
   }
 }
 
+// MARK: RowViewControllerTypeDef
+
 ///  Represents a RowViewControllerType with information about a certain
 ///  battery status.
 ///
+///  - Undefined:        Undefined row.
 ///  - TimeRemaining:    The time remaining until full.
 ///  - CurrentCharge:    The current charge in percent.
 ///  - PowerUsage:       The current power usage in Watts.

    // Initialze NSObject.
    super.init()
    // Get the battery information for the supplied row type def.
    self.setProperties(forType: type)
  }

  ///  Get the appropriate battery information for the supplied RowViewType.
  ///

///  - DesignCycleCount: The design cycle count.
///  - DesignCapacity:   The design capacity in mAh.
enum RowViewControllerTypeDef {
  case Undefined
  case TimeRemaining
  case CurrentCharge
  case PowerUsage
