Removed comma from snippets, which was causing global scope