perhaps we should signal an error or a warning if any of the given aggregates is not known, to avoid building  useless resources when the user makes a typo...