      * - Parameter string: A string that maps to a enumeration value of type ``PackageType``
      * - Returns: a ``PackageType`` for the given string.
      */
-    class func packageType(from string: String) -> PackageType {
+    static func packageType(from string: String) -> PackageType {
         if let packageType = PackageType.typesByDescription[string] {
             return packageType
         }

         weekly
}

private extension PackageType {

    var description: String? {

        case .monthly: return "$rc_monthly"
        case .weekly: return "$rc_weekly"
        }
    }

    static let typesByDescription: [String: PackageType] = PackageType
        .allCases
        .filter { $0.description != nil }
        .dictionaryWithKeys { $0.description! }

}

///
