Regenerate stub