Added dispatch code, tests, and examples.