Updated snippets and added three new synchronization examples.