Adding the list constructor.