I think you and I have very different interpretations of DRY :). Then do the same in PB and have to maintain both paths? And remember to add it to any new path we create later? Yes, we could centralize it in some method in riak_index and make sure that every entry point calls the same code. It just seems like strange dance to me.