Add scm and parent.