Added support for lists.