Added support for grouping plugin.