Fix scope snippets.