Move code from private repo.
Hide private functions.