Added support for constructor injection of lists and arrays.