Added support for collections of simple types (strings, numbers, etc).