Added Javadoc comments to a couple methods.