     
     // TODO: Make this private by providing alernative func.
     open class func attributes(forSection section: String, key: String) -> TextAttributes? {
-        var textAttributes: TextAttributes?
-        if let sectionDict = plistDict[section] as? [String : AnyObject],
+        guard let sectionDict = plistDict?[section] as? [String : AnyObject],
             let lookupDict = sectionDict[key] as? [String: AnyObject]
-        {
-            textAttributes = attributes(for: lookupDict)
-        }
-        return textAttributes
+            else { return nil }
+        return attributes(for: lookupDict)
     }
     
     fileprivate class func flatLookup(dict lookupDict: [String: AnyObject]) -> [String: AnyObject] {
+        guard let plistDict = plistDict
+            else { return [:] }
         var combined = [String: AnyObject]()
         for section in sections {
             if let key = lookupDict[section],

            }
        }
        return combined
    }
    
}

    
    fileprivate static let styledTextPlist = "StyledText"
    
    fileprivate static var plistDict: [String: AnyObject]? = {
        guard let path = Bundle.path(forFirstResource: styledTextPlist, ofType: "plist"),
            let plistDict = NSDictionary(contentsOfFile: path) as? [String: AnyObject]
            else {
                debugPrint("StyledText: plistDict: failed")
                return nil
        }
        return plistDict
    }()
    
    // MARK: - Functions
