--- a/branches/0.71/lib/SOAP/Transport/LOOPBACK.pm
+++ b/branches/0.71/lib/SOAP/Transport/LOOPBACK.pm
@@ -19,8 +19,8 @@
 @ISA = qw(SOAP::Client);
 
 sub new {
-    my $class = ref $_[0] || $_[0];
-    return bless {}, $class;
+    return $_[0] if ref $_[0];
+    return bless {}, $_[0];
 }
 
 sub send_receive {