Verify function prototypes before trying to optimize functions. We also