Snippet with list on class and instance