Fix up documentation and reduce visibility of an API.