[TASK] Add support for nested groups