Added some Java doc