     }
     
     internal func classMethodName(forDrawingName drawingName: String) -> String? {
-        var methodName: String? = nil
+        guard let classMethodNames = classMethodNames
+            else { return nil }
         let drawingWords = Drawing.FileName.drawPrefix + " " + drawingName.lowercaseWords
-        if let classMethodNames = classMethodNames {
-            for searchMethodName in classMethodNames {
-                if let baseName = searchMethodName.methodNameComponents?.first,
-                    baseName.lowercaseWords == drawingWords
-                {
-                    methodName = searchMethodName
-                    break
-                }
-            }
+        let methodName = classMethodNames.first { methodName in
+            guard let baseName = methodName.methodNameComponents?.first,
+                baseName.lowercaseWords == drawingWords
+                else { return false }
+            return true
         }
         return methodName
     }

    
    // MARK: - Computed variables

    internal var paintCodeClass: AnyClass? { // class exported by PaintCode
        guard let className = className
            else { return nil }
        return NSClassFromString(className)
    }

    internal lazy var classMethodNames: [String]? = {

    }()

    open static func styleKit(for name: String) -> StyleKit? {
        var styleKit: StyleKit?
        let className: String?
        let components = name.components(separatedBy: ".")
        switch components.count {
