for Java api (and perhaps scala convenience) I think we also need one constructor with `group: String`