SNS implementation.
Merge pull request #258 from onrik/master

SNS implementation.