in reply to Invoking method in another package

The real trick is that you might not invoke the method
in that Barfoo package.

The super classes of the specified class, Barfoo, may
be searched for the method even though it is unrelated
to the calling object's class.

If you just want to pass the hash as data, just pass it as the first
parameter.