Some fixes to the API documentation and code comments.