Transform arguments to array.