Avoid leaking `key` in node walking