Modified methods to static.
Merge pull request #3 from Hysteria/master

Modified methods to static