Fix dispatch generator was not embedded