Added support for arrays in lists