Remove unused InitIds function.