Fix return value of wrapper function.