Close GH-16. Add layout attribute snippets