Add support for nsarray objects