Use the dispatcher interface
Merge pull request #6 from wilsonge/patch-1

Use the dispatcher interface