add support for pasting from lists.