Snippets use new attr syntax

Fix for #33