Restoring missing function after merge.