     }
     //MARK:- Actions
     override func makeWindowControllers() {
-        makeWindowControllers("Helium")
-    }
-    func makeWindowControllers(_ typeName: String) {
+        makeWindowController("Helium")
+    }
+    func makeWindowController(_ typeName: String) {
         let storyboard = NSStoryboard(name: "Main", bundle: nil)
         let identifier = String(format: "%@Controller", typeName)
         

        
        //  Record url and type, caller will load via notification
        do {
            self.makeWindowControllers(typeName)
            NSDocumentController.shared().addDocument(self)
            
            //  Defer custom setups until we have a webView

    override func makeDocument(for urlOrNil: URL?, withContentsOf contentsURL: URL, ofType typeName: String) throws -> NSDocument {
        var doc: Document
        do {
            doc = try Document.init(contentsOf: contentsURL)
            if (urlOrNil != nil) {
                doc.fileURL = urlOrNil
                doc.fileType = urlOrNil?.pathExtension
            }
        } catch let error {
            NSApp.presentError(error)
            doc = try Document.init(contentsOf: contentsURL)
        }
        return doc
    }
