Properly stringify add invoke functions with empty arguments