Fix warning function name

The service defined type was calling an unkown function 'warn' when it
should be 'warning'.  This commit resolves that.
Merge pull request #6 from joshbeard/warning_function

Fix warning function name