Initial commit. Import code from internal repo.