Adding support of list type for Element.