                 elementsPointer.memory.append(nextElement)
             }
         }
-        self.cgPath = cgPath
+        self.cgPath = cgPath!
         self.elements = pathElements
     }
 

}

/**
 - returns: `Path` with elements of two paths.
 */
public func + (lhs: Path, rhs: Path) -> Path {
    return Path(lhs.elements + rhs.elements)

                CGPathCloseSubpath(path)
            }
        }
        return CGPathCreateCopy(path)!
    }()
    
    // MARK: - Initializers
