Updated javadoc comments for LegacyUtils.