Extract warning methods into module
Remove unecessary extend self
Merge pull request #40 from bestie/warnings-module

Extract warning methods into module