Correctly pass arguments to VMFunctions.