Add DispatchCommand extension method that works with a single handler