(handler): Correct function declaration to avoid warning.