Snippets: added nested expressions method