Added some comments to the API.