Added argumentsToArray procedure.