fix set-class example (thanks to @weber, closes #4)
typo