Nested items

This pull request add nested items support.