Initial commit ported from private repo.