use the dispatcher interface for type hint
Merge pull request #68 from MDrollette/dispatcher-interface

use the dispatcher interface for type hint