Simplify the code a bit

Argh provides a shortcut `dispatch_commands()`.
This use case doesn't extend beyond this simple API at the moment.

(Feel free to ignore this pull request :))