Fixed subscribe method

Subscribe method of a handler should not be static.
Merge pull request #226 from loic-sharma/patch-1

Fixed subscribe method