Declare some functions to avoid compiler warnings.