Array Types update

Code updated to handle arguments of type T[] properly.