Refactor va_list accepting public functions to accept array