Add struct snippet.