Define COMP method function prototypes properly.