Added Javadocs