Now works with lists.