Added support to validate list items.