Generate stub wrapper source code.