Add collection of classes containing primitives or strings