Improved Kate snippets