Adding documentation for the API.