Add snippets on scope and hoisting