Update documentation to include API.