Mock correct function.