Fix JavaDoc erros which fail the travis CI.