Added proper javadocs for new java classes.