change javadoc as well, if only accepting Group.