Added list serialisation.