Fixed a typo in function stub generation.