Changes to use vararg instead of String[] where appropriate
corrected typo.