Added documentation for argsToArray