Commented and complete the function types.