Added some java doc