Change code examples to use as Set