generate code to use Dispatch 0.11.1. fixes #231