Document the core APIs.

100% coverage, excluding the extensions.