Added function types.
Generating return.