added support for snippets without arguments.