Allow groups to be specified