Initial transfer of 76262 LoC from our internal mercurial repo.