updating snippets to work with newer versions of YASnippet.