Added Javadoc comments to a method that was missing them