Improve java doc