Add function prototypes and return types.