make Set support foreach

For the sake of 5.2 support can you remove the `\`? While we are planning on properly supporting namespaces, the current version does not, so it's probably better to be consistent.