Fixed examples to fit the updated SNocs API