Fixed typo in script generating the dispatch code.