Change javadoc to match new function.