I think I originally had something like the opposite of this for invert but went testing found that redis just returned channel buffers encoding longs a strings rather than longs. You've got a good point there though. I'll see if there aren't any side effects of using a purer companion for invert.