--- a/incubator/orxvirt/src/orxconnx.cpp
+++ b/incubator/orxvirt/src/orxconnx.cpp
@@ -119,7 +119,7 @@
  *
  * @return        Boolean.
  **/
-RexxMethod1(logical_t,                 // Return type
+RexxMethod2(logical_t,                 // Return type
             OrxVirt_ConnectOpenAuth,   // Object_method name
             CSTRING, uri,
             int, flags)
@@ -129,9 +129,9 @@
     connx = virConnectOpenAuth(uri, virConnectAuthPtrDefault, flags);
     context->SetObjectVariable("CSELF", context->NewPointer(connx));
     if (connx == NULL) {
-        return context->False();
-    }
-    return context->True();
+        return false;
+    }
+    return true;
 }