Pass correct function.