Added list and array support on constructors