Adding trait snippets