OK.  The problem the revision is trying to fix is that when ref($self) is undefined you get a warning message in the 
logs.
Would line 281 of    return undef unless ref($self); 
                            return ref($self) eq 'HASH' || blessedType($self) eq 'HASH';
solve the problem.