Changed parameters of wrapper function.