             let glossary = URL(fileURLWithPath: "Tests/LanguageTranslatorV2Tests/glossary.tmx")
         #endif
 
-        languageTranslator.createModel(fromBaseModelID: "en-es", withGlossary: glossary,
-                                       name: "custom-english-to-spanish-model", failure: failWithError)
+        languageTranslator.createModel(
+            baseModelID: "en-es",
+            name: "custom-english-to-spanish-model",
+            forcedGlossary: glossary,
+            failure: failWithError)
         {
-            modelID in
-            XCTAssertNotEqual(modelID, "")
+            model in
+            XCTAssertNotEqual(model.modelID, "")
             creationExpectation.fulfill()
-
-            self.languageTranslator.deleteModel(withID: modelID, failure: self.failWithError) {
+            self.languageTranslator.deleteModel(modelID: model.modelID, failure: self.failWithError) { _ in
                 deletionExpectation.fulfill()
             }
         }

    func testIdentify() {
        let description = "Identify the language of a text string."
        let expectation = self.expectation(description: description)

        languageTranslator.identify(languageOf: "Hola", failure: failWithError) { languages in
            XCTAssertGreaterThan(languages.count, 0, "Expected at least 1 language to be returned.")
            XCTAssertEqual(languages.first?.language, "es")
            XCTAssertGreaterThanOrEqual(languages.first!.confidence, 0.0)
            XCTAssertLessThanOrEqual(languages.first!.confidence, 1.0)

        let description = "Get a model's training status."
        let expectation = self.expectation(description: description)

        languageTranslator.getModel(modelID: "en-es", failure: failWithError) { model in
            XCTAssertEqual(model.status, TranslationModel.Status.available.rawValue)
            expectation.fulfill()
        }
        waitForExpectations()
