My apologies, the issue was with my code: I was passing the method instance to an unrelated visitor. Once I corrected this, everything works as advertised.
method