Sorry, I should have been more clear, I was implying to pass the entire object here.

```coffee
editorView.command 'snippets:available', (event) =>
  new SnippetsAvailable(this)
```

Then in `SnippetsAvailable` it would store this argument as an instance variable named `snippets`, and call `snippets.getSnippets` and `snippets.insert` on it.