Fix function prototype ‘expecting’ wrong class.