Adding plugin method for resourceGrouping