Adding some java doc