Add scala snippets