[imp][33982] Add support for different plugin groups to com_ajax.
Closes #3938