[FIX] provide a v8 and a v7 version of our override

This override can go wrong if we call it from a mixed v7/v8 api setting. To be sure, better override both versions explicitly.