Add support for arrays in function calls