For CppStubGenerator: added temporary fix for repeated arguments