Improve RawOptionsSet snippet

This makes it more friendly for using inside of frameworks