Add snippets and set parents