Add Java doc to all methods calling the API