Fixed unprotected arguments in calls to createS3Vars.