Adds support for arrays