Adding Javadoc comments