Revert "export nested groups"

This reverts commit 20d392a5f49dfe7572cb51900f0b2df045829387.